package com.xyjf.prod.tools.prod_tools.contorller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.servlet.ModelAndView;

@RestController
public class IndexController {

    /**
     * 管理主界面
     * @return
     */
    @RequestMapping("/")
    public ModelAndView index(){
        ModelAndView mv=new ModelAndView("/view/index");
        return mv;
    }


    /**
     * 管理主界面
     * @return
     */
    @RequestMapping("/main")
    public ModelAndView main(){
        ModelAndView mv=new ModelAndView("/view/main");
        return mv;
    }
}
